<template>
<div id="wrapper">
  <div>
    <!-- <router-link ></router-link> 会解析成a标签 to 就是href属性
    <router-view></router-view> 组件的出口组件会渲染到这里 -->
    <Header/>
  </div>
  <router-view/>
</div>
</template>

<script>
import 'element-plus/lib/theme-chalk/index.css'
import "./assets/css/Main.css"
import Header from './components/Header'
export default {
  name: 'App',
  components: {
    Header,
  },
  data(){
    return{

    }
  },
  methods: {
    show:function(){
      console.log(this.$router)
      this.$router.push({name:'TestVue',params:{page:'H0000'}})
    },
    check:function(){
      router.push("Header")
    }
  },
  mounted(){
    
  }
}
</script>

<style>
  body{
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
